package org.stone.project.zookeeper.config.configProp;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "zookeeper")
public class ZookeeperProp {
    /**
     * zookeeper集群
     */
    private String host[];

    public String[] getHost() {
        return host;
    }

    public void setHost(String[] host) {
        this.host = host;
    }
}
